home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / windows / wdj1096.zip / ZOLMAN.ZIP / MDIICONS.ZIP / MAINFRM.H < prev    next >
C/C++ Source or Header  |  1996-02-16  |  2KB  |  76 lines

  1. // mainfrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CMainFrame : public CMDIFrameWnd
  6. {
  7.     DECLARE_DYNAMIC(CMainFrame)
  8. public:
  9.     CMainFrame();
  10.  
  11. // Attributes
  12. public:
  13.  
  14. // Operations
  15. public:
  16.  
  17. // Implementation
  18. public:
  19.     virtual ~CMainFrame();
  20. #ifdef _DEBUG
  21.     virtual void AssertValid() const;
  22.     virtual void Dump(CDumpContext& dc) const;
  23. #endif
  24.  
  25. protected:  // control bar embedded members
  26.     CStatusBar  m_wndStatusBar;
  27.     CToolBar    m_wndToolBar;
  28.  
  29. // Generated message map functions
  30. protected:
  31.     //{{AFX_MSG(CMainFrame)
  32.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  33.         // NOTE - the ClassWizard will add and remove member functions here.
  34.         //    DO NOT EDIT what you see in these blocks of generated code!
  35.     //}}AFX_MSG
  36.     DECLARE_MESSAGE_MAP()
  37. };
  38.  
  39. /////////////////////////////////////////////////////////////////////////////
  40.  
  41.  
  42. /////////////////////////////////////////////////////////////////////////////
  43. // CChildIconWnd frame
  44.  
  45. class CChildIconWnd : public CMDIChildWnd
  46. {
  47.      
  48. private:
  49.     // Number of MDI Child Frame Windows
  50.     static int s_iNumChild ;        
  51.     
  52.     DECLARE_DYNCREATE(CChildIconWnd)
  53. protected:
  54.     CChildIconWnd();    // protected constructor used by dynamic creation
  55.     
  56.     virtual BOOL PreCreateWindow( CREATESTRUCT& cs );
  57.  
  58. // Attributes
  59. protected:
  60.  
  61. // Operations
  62. public:
  63.     
  64. // Implementation
  65. protected:
  66.     virtual ~CChildIconWnd();
  67.  
  68.     // Generated message map functions
  69.     //{{AFX_MSG(CChildIconWnd) 
  70.     //}}AFX_MSG
  71.     DECLARE_MESSAGE_MAP()
  72. //    afx_msg LRESULT OnCommandHelp (WPARAM wParam, LPARAM lParam) ;    
  73. };
  74.  
  75. /////////////////////////////////////////////////////////////////////////////
  76.